package com.classic.okhttp.beans;

import com.classic.okhttp.enums.Enum;
import java.util.ArrayList;


import java.io.Serializable;
import com.classic.okhttp.CustomBeans.HVCustomCardBean;

public class HVCardBean extends HVCustomCardBean implements Serializable  { 

	//优惠券实例编号  //(Integer)
	public Integer couponUserId;

	//优惠券模版编号  //(String)
	public String couponId;

	//优惠券名称  //(String)
	public String couponName;

	//满减生效金额  满100减10 中的100  //(double)
	public double condition;

	//金额      满100减10 中的10  //(double)
	public double money;

	//开始时间  //(int)
	public int startTime;

	//结束时间  //(int)
	public int endTime;

	//优惠券的描述  //(String)
	public String content;

	//优惠类型   1= 满减优惠  2= 抵扣优惠  //(Entc.CouponType)
	public int couponType;

	//应用范围  1=所有场馆和所有的产品都有效  2=所有场馆的场地预定全部有效，指定场馆的产品售卖有效  3=所有场馆的产品售卖全部有效，指定场馆的  //(Entc.CouponRange)
	public int range;

	//优惠券关联场馆  //(List<ViewCardVenues>)
	public ArrayList<HVCardVenuesBean> couponVenues;

	//优惠券关联产品  //(List<ViewCardProducts>)
	public ArrayList<HVCardProductsBean> couponProducts;

	//是否能使用 ture能使用 false不能使用  //(boolean)
	public boolean available;

	//运动项目限定  //(List<String>)
	public ArrayList<String> categoryIdList;

	//是否是专属 true是 false否  //(boolean)
	public boolean exclusive;

	//描述  //(String)
	public String couponDescription;

	//口令  //(String)
	public String couponCode;

	//安卓特需字段（可减金额）  //(double)
	public double reduceAmount;

	//安卓特需字段（是否选择）)  //(boolean)
	public boolean isSelcted;

	//安卓特需字段（该优惠卷是否针对此订单可用  比如 1.过期，或者未生效 2.不满足该订单的规则)  //(boolean)
	public boolean isUseAble;

	//安卓特需字段（是否是历史优惠券）  //(boolean)
	public boolean isHaveHistory;

	// 使用状态 0=可使用，1=已使用，2=已过期  //(Entc.CounponStatusEnum)
	public int isWork;


	public void setCouponUserId(Integer value) { couponUserId  = value; } 
	public Integer getCouponUserId() { return couponUserId ; } 

	public void setCouponId(String value) { couponId  = value; } 
	public String getCouponId() { return couponId ; } 

	public void setCouponName(String value) { couponName  = value; } 
	public String getCouponName() { return couponName ; } 

	public void setCondition(double value) { condition  = value; } 
	public double getCondition() { return condition ; } 

	public void setMoney(double value) { money  = value; } 
	public double getMoney() { return money ; } 

	public void setStartTime(int value) { startTime  = value; } 
	public int getStartTime() { return startTime ; } 

	public void setEndTime(int value) { endTime  = value; } 
	public int getEndTime() { return endTime ; } 

	public void setContent(String value) { content  = value; } 
	public String getContent() { return content ; } 

	public void setCouponType(int value) { couponType  = value; } 
	public Enum.EnumCouponType getCouponType() { return Enum.EnumCouponType.valueOf( couponType ); } 

	public void setRange(int value) { range  = value; } 
	public Enum.EnumCouponRange getRange() { return Enum.EnumCouponRange.valueOf( range ); } 

	public void setCouponVenues(ArrayList<HVCardVenuesBean> value) { couponVenues  = value; } 
	public ArrayList<HVCardVenuesBean> getCouponVenues() { return couponVenues ; } 

	public void setCouponProducts(ArrayList<HVCardProductsBean> value) { couponProducts  = value; } 
	public ArrayList<HVCardProductsBean> getCouponProducts() { return couponProducts ; } 

	public void setAvailable(boolean value) { available  = value; } 
	public boolean getAvailable() { return available ; } 

	public void setCategoryIdList(ArrayList<String> value) { categoryIdList  = value; } 
	public ArrayList<String> getCategoryIdList() { return categoryIdList ; } 

	public void setExclusive(boolean value) { exclusive  = value; } 
	public boolean getExclusive() { return exclusive ; } 

	public void setCouponDescription(String value) { couponDescription  = value; } 
	public String getCouponDescription() { return couponDescription ; } 

	public void setCouponCode(String value) { couponCode  = value; } 
	public String getCouponCode() { return couponCode ; } 

	public void setReduceAmount(double value) { reduceAmount  = value; } 
	public double getReduceAmount() { return reduceAmount ; } 

	public void setIsSelcted(boolean value) { isSelcted  = value; } 
	public boolean getIsSelcted() { return isSelcted ; } 

	public void setIsUseAble(boolean value) { isUseAble  = value; } 
	public boolean getIsUseAble() { return isUseAble ; } 

	public void setIsHaveHistory(boolean value) { isHaveHistory  = value; } 
	public boolean getIsHaveHistory() { return isHaveHistory ; } 

	public void setIsWork(int value) { isWork  = value; } 
	public Enum.EnumCounponStatusEnum getIsWork() { return Enum.EnumCounponStatusEnum.valueOf( isWork ); } 


}